function myAxios(method,url,data,thenFunction,finallyFunction) {
    if (method=="get"){
        axios.get(url).then(thenFunction).catch((r)=>{
            if (r == 'Error: Request failed with status code 403') {
                this.$message.error('无访问权限');
                return;
            } else {
                this.$message.error('其他错误');
                return;
            }
        }).finally(finallyFunction);
    }else if (method=="post"){
        axios.post(url,data).then(thenFunction).catch((r)=>{
            if (r == 'Error: Request failed with status code 403') {
                this.$message.error('无访问权限');
                return;
            } else {
                this.$message.error('其他错误');
                return;
            }
        }).finally(finallyFunction);
    }else if (method=="delete"){
        axios.delete(url).then(thenFunction).catch((r)=>{
            if (r == 'Error: Request failed with status code 403') {
                this.$message.error('无访问权限');
                return;
            } else {
                this.$message.error('其他错误');
                return;
            }
        }).finally(finallyFunction);
    }
}